package cn.wangxl.group.rpc.register;

/**
 * @Description ServiceObject
 * @Classname ServiceObject
 * @Created by wangxl
 * @Date 2020/9/22 22:39
 */
public class ServiceObject {

    private String name;

    private Class<?> interf;

    private Object object;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Class<?> getInterf() {
        return interf;
    }

    public void setInterf(Class<?> interf) {
        this.interf = interf;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public ServiceObject(String name, Class<?> interf, Object object) {
        this.name = name;
        this.interf = interf;
        this.object = object;
    }
}
